#include "SparkEditorMenuTools.h"


SparkEditorMenuTools::SparkEditorMenuTools()
{
	wxMenuItem* actSelect = new wxMenuItem(this, IDMENU_TOOLS_SELECT, wxT("Select"), wxT("Select"), wxITEM_NORMAL);
	wxBitmap actSelectBitmap(SparkEditorGlobal::GetDataPath() + wxT("icons/select.png"));
	actSelect->SetBitmap(actSelectBitmap);
	this->Append(actSelect);

	wxMenuItem* actMove = new wxMenuItem(this, IDMENU_TOOLS_MOVE, wxT("Move"), wxT("Move"), wxITEM_NORMAL);
	wxBitmap actMoveBitmap(SparkEditorGlobal::GetDataPath() + wxT("icons/translate.png"));
	actMove->SetBitmap(actMoveBitmap);
	this->Append(actMove);

	wxMenuItem* actRotate = new wxMenuItem(this, IDMENU_TOOLS_ROTATE, wxT("Rotate"), wxT("Rotate"), wxITEM_NORMAL);
	wxBitmap actRotateBitmap(SparkEditorGlobal::GetDataPath() + wxT("icons/rotate.png"));
	actRotate->SetBitmap(actRotateBitmap);
	this->Append(actRotate);

	wxMenuItem* actScale = new wxMenuItem(this, IDMENU_TOOLS_SCALE, wxT("Scale"), wxT("Scale"), wxITEM_NORMAL);
	wxBitmap actScaleBitmap(SparkEditorGlobal::GetDataPath() + wxT("icons/scale.png"));
	actScale->SetBitmap(actScaleBitmap);
	this->Append(actScale);

	wxMenuItem* actDefineSelectionList = new wxMenuItem(this, IDMENU_TOOLS_DEFINE_SELECTION_LIST, wxT("Define Selection List"), wxT("Define Selection List"), wxITEM_NORMAL);
	this->Append(actDefineSelectionList);

	wxMenuItem* actActivateSelectionList = new wxMenuItem(this, IDMENU_TOOLS_ACTIVATE_SELECTION_LIST, wxT("Activate Selection List"), wxT("Activate Selection List"), wxITEM_NORMAL);
	this->Append(actActivateSelectionList);
}

SparkEditorMenuTools::~SparkEditorMenuTools()
{

}

void SparkEditorMenuTools::ConnectEvent(void)
{
	Connect(IDMENU_TOOLS_SELECT, wxEVT_COMMAND_TOOL_CLICKED, wxCommandEventHandler(SparkEditorMenuTools::OnToolsSelect));
	Connect(IDMENU_TOOLS_MOVE, wxEVT_COMMAND_TOOL_CLICKED, wxCommandEventHandler(SparkEditorMenuTools::OnToolsMove));
	Connect(IDMENU_TOOLS_ROTATE, wxEVT_COMMAND_TOOL_CLICKED, wxCommandEventHandler(SparkEditorMenuTools::OnToolsRotate));
	Connect(IDMENU_TOOLS_SCALE, wxEVT_COMMAND_TOOL_CLICKED, wxCommandEventHandler(SparkEditorMenuTools::OnToolsScale));
	Connect(IDMENU_TOOLS_DEFINE_SELECTION_LIST, wxEVT_COMMAND_TOOL_CLICKED, wxCommandEventHandler(SparkEditorMenuTools::OnToolsDefineSelectionList));
	Connect(IDMENU_TOOLS_ACTIVATE_SELECTION_LIST, wxEVT_COMMAND_TOOL_CLICKED, wxCommandEventHandler(SparkEditorMenuTools::OnToolsActivateSelectionList));

}

void SparkEditorMenuTools::OnToolsSelect(wxCommandEvent& event)
{

}

void SparkEditorMenuTools::OnToolsMove(wxCommandEvent& event)
{

}

void SparkEditorMenuTools::OnToolsRotate(wxCommandEvent& event)
{

}

void SparkEditorMenuTools::OnToolsScale(wxCommandEvent& event)
{

}

void SparkEditorMenuTools::OnToolsDefineSelectionList(wxCommandEvent& event)
{

}

void SparkEditorMenuTools::OnToolsActivateSelectionList(wxCommandEvent& event)
{

}

